﻿@model loveMotorcade.web.Models.LoginModel
@using loveMotorcade.web.Models;
@{
    ViewBag.Title = "Login";
}


<h2>Login</h2>
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    @Html.AntiForgeryToken()
        <div class="editor-label">
            登录账户
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </div>
        <div class="editor-label">
            登录密码
        </div>
        <div class="editor-field">
            @Html.PasswordFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
        <div class="editor-label">
            记住我
        </div>
        <div class="editor-field">
            @Html.CheckBox("RememberMe")
        </div>
    <input type="submit" value="登录" /> 
}
